//
//  KDDHeader.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 HZMengLiao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KDDReuseView.h"

typedef NS_ENUM(NSUInteger, KDDViewType) {
    KDDViewTypeNone,
    KDDViewTypeHeader,
    KDDViewTypeCell,
    KDDViewTypeFooter,
    KDDViewTypeDecoration,
};

typedef NS_ENUM(NSUInteger, KDDScrollPosition) {
    KDDScrollPositionNone,
    KDDScrollPositionTop,
    KDDScrollPositionMiddle,
    KDDScrollPositionBottom,
    KDDScrollPositionLeft,
    KDDScrollPositionRight,
};

typedef NS_ENUM(NSUInteger, KDDEventType) {
    KDDEventNone,
    KDDLoadModelEvent,
    KDDWillDisplayEvent,
    KDDEndDisplayEvent,
    KDDSelectModelEvent,
    KDDPrepareForReuse,
};

typedef NS_ENUM(NSUInteger, KDDUpdateType) {
    KDDUpdateNone,
    KDDUpdateInsert,
    KDDUpdateDelete,
    KDDUpdateModify,
    KDDUpdateReload,
};

typedef NS_ENUM(NSUInteger, KDDTargetType) {
    KDDTargetNone,
    KDDTargetHeader = KDDViewTypeHeader,
    KDDTargetCell = KDDViewTypeCell,
    KDDTargetFooter = KDDViewTypeFooter,
    KDDTargetSection,
    KDDTargetList,
};

typedef NS_ENUM(NSUInteger, KDDLayoutType) {
    KDDLayoutNone,
    KDDLayoutTable,
    KDDLayoutCollection,
};

